<div class="MenuFramer">
    <?php foreach($this->parents as $parent):?>
    <div class="MenuHead hide" id="top_<?php echo $parent['menu_id'];?>">
        <div class="MenuHeadBar"><span class="right"><img class="icon" src="<?php echo Yii::app()->request->baseUrl; ?>/public/admin/ico_switch_close.gif"></span><?php echo $parent['menu_name'];?></div>
        <div class="MenuHeadBody">
            <ul>
                <?php foreach($this->menu->findAll('menu_parent_id=:id', array(':id' => $parent['menu_id'])) as $row):?>
                <li><img class="icon" src="<?php echo Yii::app()->request->baseUrl; ?>/public/admin/ico_special.gif">&nbsp;<?php echo CHtml::link($row['menu_name'], $this->createUrl($row['menu_link']));?></li>
                <?php endforeach;?>
            </ul>
        </div>
    </div>
    <?php endforeach;?>
</div>